//
//  AudioPlayer.h
//  Share
//
//  Created by Lin Zhang on 11-4-26.
//  Copyright 2011年 www.eoemobile.com. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <CoreGraphics/CoreGraphics.h>
@class AVPlayer;
@class JingRoundView;
@class AudioButton;
@interface AudioPlayer : NSObject {
    
    NSTimer *_timer;
    BOOL isPlay;
}

@property (nonatomic, retain) AudioButton *button;
@property (nonatomic, retain) NSURL *url;
@property (nonatomic, retain) AVPlayer *myPlayer;
@property (nonatomic, assign) BOOL isPlay;
@property (nonatomic, retain) JingRoundView *roundView;
@property (nonatomic, retain) NSString *imagePath;
@property (nonatomic, retain) NSString *playmodel;
+ (AudioPlayer *)shareInstance;

- (void)play;
- (void)stop;
- (BOOL)isProcessing;
- (void)updateProgress;
//- (void)changeProcessing:(CGFloat )progress;
@end
